using GameFramework;
using GameFramework.Procedure;
using UnityGameFramework.Runtime;
using ProcedureOwner = GameFramework.Fsm.IFsm<GameFramework.Procedure.IProcedureManager>;

public class Demo1_ProcedureHelloWorld : ProcedureBase
{
    protected override void OnInit(ProcedureOwner procedureOwner)
    {
        base.OnInit(procedureOwner);
        Log.Info("[Demo1_ProcedureHelloWorld] OnInit");
    }

    protected override void OnEnter(ProcedureOwner procedureOwner)
    {
        base.OnEnter(procedureOwner);

        string welcomeMessage = "Hello GameFramework, I come here!";
        Log.Info(welcomeMessage);
        Log.Warning(welcomeMessage);
        Log.Error(welcomeMessage);
    }
}
